package com.bjpowernode.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultDTO {
    public static final String SUCCESS = "success";
    public static final String ERROR = "error";
    //响应的成功与否信息，包含两个success,error
    String result;
    //成功的信息
    String reason;
    //失败的信息
    String error;
    //成功的数据
    Object data;
}
